package com.fbty.mt.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "tab_recharge", catalog = "mt", uniqueConstraints = {})
public class Recharge implements Serializable{

	/**
	 * 冲值记录表
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false, insertable = true, updatable = true)
	private Integer id;
	/**
	 * 冲值价格
	 */
	private Double price;
	/**
	 * 冲值条数
	 */
	private Integer num;
	/**
	 * 使用时间
	 */
	private Integer time;
	/**
	 * 冲值时间
	 */
	private Date date;
	/**
	 * 冲值人
	 */
	private Integer uid;
	/**
	 * 是否过期
	 * @return
	 * 0  ---- 过期
	 * 1  ---- 未过期
	 */
	private Integer state;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public Integer getTime() {
		return time;
	}
	public void setTime(Integer time) {
		this.time = time;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	
	
}
